package com.ruoyi.business.domain.koc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户获取产品流水对象 tb_user_koc_product_log
 *
 * @author ruoyi
 * @date 2025-09-11
 */
@Data
@TableName("tb_user_koc_product_log")
@EqualsAndHashCode(callSuper = true)
@ApiModel("用户获取产品流水")
public class TbUserKocProductLog extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;


    @ApiModelProperty(value = "用户手机号")
    @TableField("user_phone")
    private String userPhone;


    @ApiModelProperty(value = "用户名")
    @TableField("user_real_name")
    private String userRealName;


    @ApiModelProperty(value = "用户koc等级")
    @TableField("user_koc_level_id")
    private Long userKocLevelId;

    /**
     * koc 任务类型id
     */
    @ApiModelProperty(value = "koc 任务类型id")
    @TableField("koc_task_type_id")
    private Long kocTaskTypeId;


    /**
     * koc 任务类型名称
     */
    @ApiModelProperty(value = "koc 任务类型id")
    @TableField("koc_task_type_name")
    private String kocTaskTypeName;

    /**
     * koc 任务id
     */
    @ApiModelProperty(value = "koc 任务id")
    @TableField("koc_task_id")
    private Long kocTaskId;


    @ApiModelProperty(value = "koc 任务名称")
    @TableField("koc_task_name")
    private String kocTaskName;

    /**
     * 任务奖励产品数量
     */
    @ApiModelProperty(value = "任务奖励产品数量")
    @TableField("koc_product_num")
    private Integer kocProductNum;

    /**
     * koc_任务期次
     */
    @ApiModelProperty(value = "koc任务期次")
    @TableField("koc_date")
    private String kocDate;
    /**
     * 来源类型
     */
    @ApiModelProperty(value = "来源类型 1:koc任务审核 2:某一类型任务全做奖励")
    @TableField("source_type")
    private Integer sourceType;
    /**
     * 来源id 审核id 或者 koc任务全做奖励
     */
    @ApiModelProperty(value = "审核id")
    @TableField("source_id")
    private Long sourceId;
    /**
     * 状态 0:未核发 1:已核发
     */
    @ApiModelProperty(value = "0:未核发 1:已核发")
    @TableField("status")
    private Integer status;
    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    @TableField("remarks")
    private String remarks;

}
